<?
/**
 * @author trangdt
 */
require_once APPPATH."controllers/cmsbase.php";

class cms_home extends CmsBase{
	var $_require_login = true;

 	function __construct() {		
		parent:: __construct();
	}

	/**
	 *
	 */
	function index(){
	  	//$this->main_content = $this->load->view("cmshome/index", array(),true);
		return $this->_render_my_view();
	}

	/**
	 *
	 *
	 */
	function sitelink(){
		$this->load->model('Model_nav', 'model_nav');
		$nav = $this->model_nav->fetchNav();
		return $this->load->view("cmshome/sitelink.php", array("nav" => $nav));
	}
}
?>
